Event.observe(document, 'dom:loaded', function(){
	$$('.drawer').each( function(e){
		new PSWrap.Animation.OpenCloseIDBound(e, {
			duration: 0.75,
			transition: Effect.Transitions.sinoidal
		}, {
			options: {
				beforeStart: function(sc_obj, oc_obj){
					oc_obj.getOpenElements().invoke('addClassName', 'active');
				}
			}
		}, {
			options: {
				afterFinish: function(sc_obj, oc_obj){
					oc_obj.getOpenElements().invoke('removeClassName', 'active');
				}
			}
		});
	});
});
